package net.qhzw.vip.qiyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.qhzw.vip.qiyu.entity.MaintTasks;
import org.apache.ibatis.annotations.Param;

public interface MaintTasksMapper extends BaseMapper<MaintTasks> {


    /**
     * 查询该用户可接单
     *
     * @param maintUserId
     * @param maintRptId
     * @return
     */
    int findIsOrder(@Param("maintUserId") Long maintUserId, @Param("maintRptId") Long maintRptId);

    /***
     * 无法接单
     */
    void unableToTakeOrders(@Param("maintRptId") Long maintRptId);




}